package com.yue92.datalife.model;

import java.time.Instant;

/**
 * @author wangjun on 6/23/18
 */
public interface BaseModel<ID> {

    ID getId();

    Instant getCreatedAt();

    void setCreatedAt(Instant instant);

    Instant getUpdatedAt();

    void setUpdatedAt(Instant instant);

}
